﻿using IXION.BLOG.COMMON.DATA;
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IXION.BLOG.DOMAIN.USER;
using IXION.BLOG.DAO.USER;
using IXION.BLOG.COMMON.PASSWORD;
using IXION.BLOG.DOMAIN.BLOG;
using IXION.BLOG.DAO.BLOG;
using IXION.BLOG.COMMON.CONFIG;
using IXION.BLOG.DAO.CATALOG;
using IXION.BLOG.COMMON.DATE;

namespace IXION.BLOG.WEB.UI
{
    public partial class Test : System.Web.UI.Page
    {
        protected CatalogDao dao = new CatalogDao();
        public object o;
        protected void Page_Load(object sender, EventArgs e)
        {
            Title = "我是测试页面，我可以进行界面和后台方法返回值的测试";
            //将方法返回值赋值给o
            //Article article = dao.FindArticleById(1);
            o = DateUtils.GetDayEnd("2013-11-13");
            Response.Write(o);
        }

        protected void Calendar1_SelectionChanged(object sender, EventArgs e)
        {
            DateTime date = Calendar1.SelectedDate;
            Page.ClientScript.RegisterStartupScript(this.GetType(), "message", "alert('" + date.ToString() + "')", true);
        }
    }
}